import request from '@/util/request'

export function queryGlobalVarList(pageSize, pageNum) {

    return request({
        url: '/globalVar?'+'pageSize='+ pageSize + '&pageNum=' + pageNum ,
        method: 'get'
    })
}

export function  addGlobalVar(data) {

    return request({
        url: '/globalVar',
        method: 'post',
        data: data
    })
}

export function deleteGlobalVar(id) {

    return request({
        url: '/globalVar/' + id,
        method: 'delete'
    })
}